package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient//标注当前工程是eureka的客户端
@EnableCircuitBreaker //启动熔断
public class MerchantAndGoodsApplication {

    public static void main(String[] args) {
        SpringApplication.run(MerchantAndGoodsApplication.class,args);
    }
}
